package com.example.pojo.entity.validate;

import com.example.annotation.validate.CheckCase;
import com.example.enums.validate.CaseMode;
import lombok.Data;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/9/22 15:01
 */
@Data
public class Demo4 {
    @CheckCase(value = CaseMode.LOWER,message = "userName必须是小写")
    private String userName;
}
